package nanzhuli.user.svc.mapper;

import nanzhuli.user.svc.config.MyMapper;
import nanzhuli.user.svc.model.entity.StaffRest;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StaffRestMapper extends MyMapper<StaffRest> {

    List<StaffRest> selectByNames(@Param("names") List<String> names);

    List<StaffRest> selectByNameAndAttendanceDate(@Param("name") String name, @Param("attendanceDate") String attendanceDate);

}